//
//  AppDelegate.swift
//  SHWB
//
//  Created by Shawn on 16/4/3.
//  Copyright © 2016年 Shawn. All rights reserved.
//

import UIKit

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?

    

    func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
        
        //设置全局颜色
        UITabBar.appearance().tintColor = UIColor.orangeColor()
        
        //创建window
        window = UIWindow(frame:UIScreen.mainScreen().bounds)
        
        //设置window的根控制器
        window?.rootViewController = MainViewController()
        
        //显示window
        window?.makeKeyAndVisible()
        
        return true
    }

    

}

